import Vue from 'vue'
import App from './App'
import './utils/base.css'
import './utils/iconfont.css'
import store from './utils/index'
import request from './utils/fetch'
// import request from './utils/request'

import VueI18n from 'vue-i18n' 

Vue.use(VueI18n)
const i18n = new VueI18n({
  locale: 'EN',
  messages: {
    'CN': require('./language/cn'),
    'EN': require('./language/en')
  },
})

Vue.prototype.$store = store
Vue.prototype.$request = request

Vue.config.productionTip = false
Vue.prototype._i18n = i18n
App.mpType = 'app'

const app = new Vue({
  i18n,
  ...App
})
app.$mount()